/**
 * Created by dllo on 18/4/8.
 */
public class Plane {
    public String from;
    public String arr;
    public String time;

    public Plane() {
    }

    public Plane(String from, String arr, String time) {
        this.from = from;
        this.arr = arr;
        this.time = time;
    }


    public void fly() {
        System.out.println(from + "到" + arr + time );
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getArr() {
        return arr;
    }

    public void setArr(String arr) {
        this.arr = arr;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
